home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / MuManual / Include / mmu / alerts.h next >
C/C++ Source or Header  |  2000-04-02  |  4KB  |  118 lines

  1. /*************************************************************************
  2.  ** mmu.library                                                         **
  3.  **                                                                     **
  4.  ** a system library for arbitration and control of the MC68K MMUs      **
  5.  **                                                                     **
  6.  ** © 1999 THOR-Software, Thomas Richter                                **
  7.  ** No commercial use, reassembly, modification without prior, written  **
  8.  ** permission of the authors.                                          **
  9.  ** Including this library in any commercial software REQUIRES a        **
  10.  ** written permission and the payment of a small fee.                  **
  11.  **                                                                     **
  12.  **---------------------------------------------------------------------**
  13.  ** MMU library specific alerts                                         **
  14.  **                                    **
  15.  ** $VER: 40.2 (31.10.99)                        **
  16.  *************************************************************************/
  17.  
  18. #ifndef MMU_ALERTS_H
  19. #define MMU_ALERTS_H
  20.  
  21. /* MMU library alert identifier */
  22.  
  23. #define AN_MMULib   0x3e000000
  24.  
  25. #define AN_NoUtility 0x3e02800c   
  26. /* Library init failed to open the utility library */
  27.  
  28. #define AN_NoExpansion 0x3e02800a   
  29. /* Library init failed to open the expansion library */
  30.  
  31. #define AN_ContextOpen 0x3e090001   
  32. /* while flushing the library, a context was still in use */
  33.  
  34. #define AN_BadFreePool 0x3e018005   
  35. /* the internal memory pool is damaged */
  36.  
  37. #define AN_NoPoolMem 0x3e018001   
  38. /* no memory to build the pool on lib init */
  39.  
  40. #define AN_NoContext 0x3e018002   
  41. /* failure building the context */
  42.  
  43. #define AN_MMUInit 0x3e000002   
  44. /* MMU Init vector failed */
  45.  
  46. #define AN_IllegalTT 0x3e000003   
  47. /* transparent translation mode unsupported */
  48.  
  49. #define AN_IllegalMMU 0x3e000004   
  50. /* MMU table layout not supported */
  51.  
  52. #define AN_BadContext 0x3e000005
  53. /* the context contains unaligned mappings */
  54.  
  55. #define AN_BadTable 0x3e000006
  56. /* the MMU table build by the library has been damaged */
  57.  
  58. #define AN_FreeActive 0x3e000007
  59. /* someone tried to release an active context */
  60.  
  61. #define AN_MapHole 0x3e000008
  62. /* the mapping defined in the context contains undefined areas */
  63.  
  64. #define AN_Phase 0x3e000009
  65. /* while building the MMU tree, another context change was required */
  66.  
  67. #define AN_BuildError 0x3e00000a
  68. /* the MMU table builder failed to build a lower level of the tree */
  69.  
  70. #define AN_ConfigBroken 0xbe00000b
  71. /* the MMU configuration could not be setup, the parameters are invalid */
  72.  
  73. #define AN_NoRoot 0x3e00000c
  74. /* someone tried to install a context without a valid root pointer */
  75.  
  76. #define AN_NoCatcher 0x3e00000d
  77. /* the message exception handler did not find the destination catcher port
  78.    to pass the exceptions to */
  79.  
  80. #define AN_ExcptBusy 0x3e00000e
  81. /* someone tried to release an exception that is currently busy */
  82.  
  83. #define AN_NotCaller 0x3e00000f
  84. /* someone different than the caller tried to release the message hook */
  85.  
  86. #define AN_QueueDaemon 0x3e000073
  87. /* the returned message from the daemon was not the expected one, i.e. the
  88.    message exception daemon replied an invalid message */
  89.  
  90. #define AN_LineWB 0xbe000010   
  91. /* an unhandled line writeback that is not a physical fault.
  92.    Broken hardware ? */
  93.  
  94. #define AN_LineRB 0xbe000011   
  95. /* an unhandled line fetch of invalid data that is not a physical fault.
  96.    Broken hardware ? */
  97.  
  98. #define AN_GhostMovem 0xbe000012 
  99. /* the exception handler detected a movem fault without a movem. */
  100.  
  101. #define AN_CheckMMU 0x3e000013
  102. /* LibInit CheckMMU failed miserably and could not repair the modified
  103.    test page. */
  104.  
  105. #define AN_BadDMA 0x3e000014
  106. /* Bad DMA transfer initiated
  107.    (destination not available or writeprotected) */
  108.  
  109. #define AN_PostSetup 0x3e000015
  110. /* an Os function re-defining the memory layout was called
  111.    after table setup */
  112.  
  113. #define AN_NoMapMem  0x3e000016
  114. /* while allocating memory for the page tables, the library
  115.    found free non-RemapSize() aligned memory. */
  116.  
  117. #endif
  118.